package com.xiaozhu.mapper;

import com.xiaozhu.pojo.entity.ChatSession;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author 朱慧军
 * @version 1.0
 */
@Mapper
public interface ChatSessionMapper {
    @Select("select * from chat_session where conversation_id =#{chatTypeId}")
    List<ChatSession> chatSession(Integer chatTypeId);
}
